<%--
  Created by IntelliJ IDEA.
  User: dongp
  Date: 2016/5/13
  Time: 14:36
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>科技在线交易系统</title>
    <!-- for-mobile-apps -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <link href="${basePath}/web/css/bootstrap.css" rel="stylesheet" type="text/css" media="all"/>
    <link href="${basePath}/web/css/mycenter.css" rel="stylesheet" type="text/css" media="all"/>

<body>
<%@include file="header.jsp" %>

<div class="container">

    <div class="row">

        <%@include file="slider.jsp" %>

        <div class="col-lg-10 main">
            <p> 当前位置：》 发布技术成果</p>
            <div class="row">
                <c:if test="${!empty msg}">
                    <label  class="col-sm-6 control-label" style="color: #F60; ">${msg}</label>
                </c:if>
            </div>
            <form action="/web/member/addAchievement" method="post" class="form-horizontal" enctype="multipart/form-data">
                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">科技成果名称:</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="name" name="name">
                    </div>
                </div>
                <div class="form-group">
                    <label for="categoryID" class="col-sm-2 control-label">行业分类:</label>
                    <div class="col-sm-9">
                        <select class="form-control" id="categoryID" name="categoryID">
                            <c:forEach items="${categoryList}" var="category">
                                <option value="${category.getTypeVal()}">${category.getTypeName()}</option>
                            </c:forEach>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label for="level" class="col-sm-2 control-label">技术成熟度:</label>
                    <div class="col-sm-9">
                        <input type="tel" class="form-control" id="level" name="level">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">是否专利</label>
                    <div class="radio col-sm-9">
                        <label>
                            <input type="radio" name="isPat" id="isPat" value="1" >
                            是&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <input type="radio" name="isPat"  value="2" checked>
                            否
                        </label>
                    </div>
                </div>
                <div class="form-group">
                    <label for="tradeMode" class="col-sm-2 control-label">交易方式</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="tradeMode" name="tradeMode">
                    </div>
                </div>
                <div class="form-group">
                    <label for="money" class="col-sm-2 control-label">价格</label>
                    <div class="input-group col-sm-9" style="padding-left: 15px; padding-right: 15px;">
                        <span class="input-group-addon">￥</span>
                        <input type="text" class="form-control" id="money" name="money">
                    </div>
                </div>
                <div class="form-group">
                    <label for="rebate" class="col-sm-2 control-label">优惠</label>
                    <div class="input-group col-sm-9" style="padding-left: 15px; padding-right: 15px;">
                        <span class="input-group-addon">￥</span>
                        <input type="text" class="form-control" id="rebate" name="rebate">
                    </div>
                </div>
                <div class="form-group">
                    <label for="provideInfo" class="col-sm-2 control-label">单位名称</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="provideInfo" name="provideInfo">
                    </div>
                </div>
                <div class="form-group">
                    <label for="tel" class="col-sm-2 control-label">座机电话</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="tel" name="tel">
                    </div>
                </div>
                <div class="form-group">
                    <label for="phone" class="col-sm-2 control-label">手机电话</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="phone" name="phone">
                    </div>
                </div>
                <div class="form-group">
                    <label for="address" class="col-sm-2 control-label">地址</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="address" name="address">
                    </div>
                </div>
                <div class="form-group">
                    <label for="serverPromise" class="col-sm-2 control-label">服务承诺</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="serverPromise" name="serverPromise">
                    </div>
                </div>
                <div class="form-group">
                    <label for="desc" class="col-sm-2 control-label">技术简介</label>
                    <div class="col-sm-9">
                        <textarea class="form-control" id="desc" name="desc">
                            </textarea>
                    </div>
                </div>
                <div class="form-group">
                    <label for="imgeurl" class="col-sm-2 control-label">图片上传:</label>
                    <div class="col-sm-9">
                        <input type="file"  id="imgeurl" name="imgeurl">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>


<!-- js -->
<script src="${basePath}/web/js/jquery-1.11.1.min.js"></script>
<script src="${basePath}/web/js/bootstrap.js"></script>
<script src="${basePath}/web/page/index.js"></script>
</body>
</html>

